home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 July / WPCJUL96.ISO / file.exe / SHARED.DXR / 01070_ADDAdvert Frame.ls < prev    next >
Encoding:
Text File  |  1996-05-15  |  543 b   |  22 lines

  1. on exitFrame
  2.   global addlist, addPallist, ADDMouse, ADDThisNum, ADDKindList, REFAddWatch, REFaddPallist, REFaddlist, REFADDKindList
  3.   go(the frame)
  4.   if REFAddWatch = 0 then
  5.     if getAt(ADDKindList, ADDThisNum) = 1 then
  6.       ADDPlayVideo()
  7.     else
  8.       if getAt(ADDKindList, ADDThisNum) = 2 then
  9.         ADDPlaceAd()
  10.       end if
  11.     end if
  12.   else
  13.     if getAt(REFADDKindList, ADDThisNum) = 1 then
  14.       ADDPlayVideo()
  15.     else
  16.       if getAt(REFADDKindList, ADDThisNum) = 2 then
  17.         ADDPlaceAd()
  18.       end if
  19.     end if
  20.   end if
  21. end
  22.